﻿using Abp.Runtime.Validation;
using Camc.Quality.Chat;
using Camc.Quality.Dto;
using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.WorkFlow
{
    public class AffairMessageSelectInput : PagedAndSortedInputDto, IShouldNormalize
    {
        public int? Id { get; set; }
        /// <summary>
        /// 已读 未读
        /// </summary>
        public ChatMessageReadState? ReadState { get; set; }

        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting))
            {
                Sorting = "CreationTime Desc";
            }
        }
    }
}
